package com.epoint.mobileoa.bizlogic.mobileoa;

import java.util.HashMap;

import android.os.Message;

import com.epoint.mobileoa.bizlogic.SuperView;
import com.epoint.mobileoa.bizlogic.Task;
import com.epoint.mobileoa.http.HttpHelp;
import com.epoint.mobileoa.service.MainService;

/**
 * @author liyc
 * @time 2012-2-22 上午8:41:19
 * @annotation 
 */
public class GetFaWenDetailTask extends Task {

	public GetFaWenDetailTask(SuperView con, HashMap<String, Object> param) {
		super(con, param);
		
	}

	@Override
	public void exectue(Message mess) throws Exception {
		String messageitemguid = getParam().get("messageitemguid").toString();
		String archiveguid = getParam().get("archiveguid").toString();
		String typecode = getParam().get("typecode").toString();
		String seamurl = getCon().fp.getSeamurl()+"?requestType=GetSFWenDetail&messageitemguid="+messageitemguid+"&archiveguid="+archiveguid+"&userguid="+getCon().fp.getUserguid()+"&typecode="+typecode;
		String bs = HttpHelp.getHttpBack(seamurl);
		MainService.check_bs(bs);
		setMessageToRefreshUI(mess, getCon(), bs);
	}

}
